<template>
  <view class="notice-container">
    <view class="notice-title">申请须知</view>
    <view class="notice-content">
      1. 请确保您已年满18周岁，具备完全民事行为能力。<br/>
      2. 认同狐灵仙草品牌理念，愿意遵守公司管理制度。<br/>
      3. 具备一定的投资能力和风险意识。<br/>
      4. 申请信息需真实有效，如有虚假将取消资格。<br/>
      5. 其他相关事项请咨询官方客服。
    </view>
    <view class="notice-btns">
      <button class="cancel-btn" @click="onCancel">取消</button>
      <button class="agree-btn" @click="onAgree">已知晓，同意</button>
    </view>
  </view>
</template>
<script>
export default {
  methods: {
    onCancel() {
      uni.navigateBack();
    },
    onAgree() {
      uni.showToast({ title: '感谢您的同意！', icon: 'success' });
      setTimeout(() => {
        uni.navigateBack();
      }, 800);
    }
  }
}
</script>
<style scoped>
.notice-container {
  min-height: 100vh;
  background: #fff;
  padding: 48rpx 32rpx 160rpx 32rpx;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.notice-title {
  font-size: 44rpx;
  font-weight: bold;
  color: #ff7f50;
  margin-bottom: 32rpx;
  text-align: center;
}
.notice-content {
  font-size: 30rpx;
  color: #333;
  line-height: 2;
  flex: 1;
}
.notice-btns {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-around;
  background: #fff;
  padding: 24rpx 0 32rpx 0;
  box-shadow: 0 -2rpx 12rpx rgba(0,0,0,0.04);
}
.cancel-btn {
  width: 40%;
  background: #eee;
  color: #888;
  border-radius: 40rpx;
  font-size: 32rpx;
  height: 80rpx;
  line-height: 80rpx;
}
.agree-btn {
  width: 40%;
  background: #ff7f50;
  color: #fff;
  border-radius: 40rpx;
  font-size: 32rpx;
  height: 80rpx;
  line-height: 80rpx;
}
</style> 